package com.boot.service;

import com.entities.CommonResult;
import com.entities.Payment;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 05-08-22:08
 */
@FeignClient(value = "sentinel-payment", fallback = FeignServiceImpl.class)
public interface FeignService1 {

    @GetMapping("/payment/feign/{id}")
    CommonResult<Payment> test01(@PathVariable("id") Integer id);
}
